home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _4755CA74F26748AD83FCA197D8527B46 < prev    next >
Encoding:
Text File  |  2006-08-04  |  1.1 KB  |  34 lines

  1.  
  2. from PSPApp import *
  3.  
  4. def ScriptProperties():
  5.     return {
  6.         'Author': u'Corel Corporation',
  7.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  8.         'Description': 'Factory default preset for BlackAndWhite effect',
  9.         'Host': 'Paint Shop Pro 8',
  10.         'Host Version': '8.00',
  11.         }
  12.  
  13. def Preset_BlackAndWhite():
  14.     return {
  15.         'BlackPoint': (0, 0, 0),
  16.         'BlackDest': (0, 0, 0),
  17.         'GreyPoint': (127, 127, 127),
  18.         'WhitePoint': (255, 255, 255),
  19.         'GreyDest': (127, 127, 127),
  20.         'WhiteDest': (255, 255, 255),
  21.         'GeneralSettings': {
  22.             'AutoActionMode': 0,
  23.             'ExecutionMode': 0
  24.             },
  25.         'UseGreyPoint': App.Constants.Boolean.true,
  26.         'UseWhitePoint': App.Constants.Boolean.true,
  27.         'UseBlackPoint': App.Constants.Boolean.true,
  28.         'PreserveLightness': App.Constants.Boolean.false,
  29.         'BalanceGrey': App.Constants.Boolean.false
  30.         }
  31.  
  32. def Do(Environment):
  33.     App.Do( Environment, 'BlackAndWhite', Preset_BlackAndWhite())
  34.